import Cookies from "js-cookie";

export default {
  setCookie(key: string, value: string, expires = 7) {
    Cookies.set(key, value, { expires: expires });
  },
  getCookie(key: string) {
    return Cookies.get(key);
  },
  removeCookie(key: string) {
    Cookies.remove(key);
  }
}
